from django.contrib import admin
from django.contrib.auth.views import LogoutView
from django.urls import path, include

urlpatterns = [
    path('admin/', admin.site.urls),
    path('', include('authapp.urls')),  # 将authapp的路由纳入进来
    path('api/', include('authapp.urls')),
    path('contract/', include('contractsign.urls')),  # contract应用的路由
    path('editor/', include('softedit.urls')),
    path('review/', include('reviewcenter.urls')),
    path('logout/', LogoutView.as_view(next_page='login_page'), name='logout'),
    path('materials/', include('sourcematerial.urls')),  # sourcematerial应用的路由
]